import 'dart:typed_data';

class TextDataDTO {
  final int? color;
  final int? colorB;
  final int? colorG;
  final int? colorR;
  final String? content;
  final Uint8List? data;
  final Uint8List? sendData;
  final int? type;
  final int? widthCount;

  const TextDataDTO(
      {this.color,
      this.colorB,
      this.colorG,
      this.colorR,
      this.content,
      this.data,
      this.sendData,
      this.type,
      this.widthCount});

  TextDataDTO copyWith({
     int? color,
     int? colorB,
     int? colorG,
     int? colorR,
     String? content,
     Uint8List? data,
     Uint8List? sendData,
     int? type,
     int? widthCount,
  }) {
    return TextDataDTO(
        color: color ?? this.color,
        colorB: colorB?? this.colorB,
        colorG: colorG?? this.colorG,
        colorR: colorR?? this.colorR,
        content: content?? this.content,
      data: data?? this.data,
      sendData: sendData?? this.sendData,
      type: type?? this.type,
      widthCount: widthCount?? this.widthCount

    );
  }


}
